﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpTrainer.DP.Decorator.Generic
{
    public class ConcreteDecoratorB : Decorator 
    { 
        public override void Operation() 
        { 
            base.Operation();
            AddedBehavior(); 
            Console.WriteLine("ConcreteDecoratorB.Operation()"); 
        } 
        
        void AddedBehavior() 
        {
            Console.WriteLine("Behabior added by ConcreteDecoratorB");
        }
    }
}
